package com.warehouse.mapper;

import com.warehouse.entity.Supply;
import com.warehouse.entity.SupplyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SupplyMapper {
    long countByExample(SupplyExample example);

    int deleteByExample(SupplyExample example);

    int deleteByPrimaryKey(String id);

    int insert(Supply record);

    int insertSelective(Supply record);

    List<Supply> selectByExample(SupplyExample example);

    Supply selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Supply record, @Param("example") SupplyExample example);

    int updateByExample(@Param("record") Supply record, @Param("example") SupplyExample example);

    int updateByPrimaryKeySelective(Supply record);

    int updateByPrimaryKey(Supply record);

    Boolean deleteByNum(String id);

    Boolean insertSuply(Supply supply);

    List<Supply> findSupply(Supply supply);
}